package com.river.boot.system.controller;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import com.river.boot.common.result.PageResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Collections;

@Slf4j
@RestController
@RequestMapping("/api/v1/notices")
@RequiredArgsConstructor
@Tag(name = "08.通知接口")
public class NoticeController {

    // TODO: 4/22/2025 实现通知接口
    @ApiOperationSupport(order = 1)
    @Operation(summary = "通知列表")
    @GetMapping("/my-page")
    public PageResult<Object> getCategoryList() {
        IPage<Object> list = new Page<>().setTotal(0).setRecords(Collections.emptyList());
        return PageResult.success(list);
    }

}
